package com.krtech.wecard.module.pub.service;

import java.util.List;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.krtech.wecard.module.pub.dto.*;
import com.krtech.wecard.module.pub.entity.TnNotify;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.bind.annotation.PathVariable;

public interface TnNotifyService extends IService<TnNotify> {


    int updateBatch(List<TnNotify> list);

    int batchInsert(List<TnNotify> list);

    public IPage<MyTnNotify> search(NotifySearchDto dto, Page<TnNotify> page);

    public Integer getNoReadInfo(NotifySearchDto dto);

    public TnNotify add(TnNotify dto);

    public Boolean userRead(Long notifyUserId);

    public Boolean adminDelete(Long notifyId);

}









